package com.cn.wanxi.util.dao.impl;

import com.cn.wanxi.util.dao.IAboutNavDao;
import com.cn.wanxi.util.model.AboutContentModel;
import com.cn.wanxi.util.model.AboutNavModel;
import com.cn.wanxi.util.model.AnimationModel;
import com.cn.wanxi.util.utils.AboutNavUtil;
import com.cn.wanxi.util.utils.FileUtile;


import java.util.ArrayList;
import java.util.List;

public class AboutNavDao implements IAboutNavDao {
    AboutNavUtil aboutNavUtil =new AboutNavUtil();

    @Override
    public List<AboutNavModel> aboutNavList() {
        List<AboutNavModel> aboutNavList = aboutNavUtil.readNavfile();
        return aboutNavList;
    }

    @Override
    public List<AboutContentModel> aboutContentModel() {


        List<AboutContentModel> aboutContentModels =aboutNavUtil.readAboutContent();
        return aboutContentModels;
    }
//
    @Override
    public List<AnimationModel> animationModel() {
        List<AnimationModel> animationModels = aboutNavUtil.readAnimationModel();
        return animationModels;
    }

}
